STEP 10: Time for our third random response.

  • Drag If from . Drop it outside of your second if statement.
  • Change the test variable in the if statement from choice to rand_answer and the test value from "yes" to 3.
  • Drag Say from .
  • Change the name in front of .say() to tim and the string to "Doubtful".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)